package book;

public class Booklist {
        private Book[]books=new Book[10];
        private int usedSize;


    public int getUsedSize() {
        return usedSize;
    }

    public void setUsedSize(int usedSize) {
        this.usedSize = usedSize;
    }

    public Booklist(){
            books[0]=new Book("罪恶都市","kzf1",20,"小说");
            books[1]=new Book("最后一滴神血","kzf2",30,"小说");
            books[2]=new Book("救赎","kzf3",25,"散文");
            this.usedSize=3;

        }
        public Book getBook(int pos){
              return books[pos];
        }

}
